package info.javafans.domain;

import info.javafans.utils.DateTime;

public class Post {
private String id;
private String title;
private String content;
private User author;
private Category category;
private DateTime date;
private String tags;
private int commentCount;
private int viewCount;

public String getId() {
	return id;
}
public void setId(String id) {
	this.id = id;
}
public String getTitle() {
	return title;
}
public void setTitle(String title) {
	this.title = title;
}
public String getContent() {
	return content;
}
public void setContent(String content) {
	this.content = content;
}
public User getAuthor() {
	return author;
}
public void setAuthor(User author) {
	this.author = author;
}
public Category getCategory() {
	return category;
}
public void setCategory(Category category) {
	this.category = category;
}
public DateTime getDate() {
	return date;
}
public void setDate(DateTime date) {
	this.date = date;
}
public String getTags() {
	return tags;
}
public void setTags(String tags) {
	this.tags = tags;
}
public int getCommentCount() {
	return commentCount;
}
public void setCommentCount(int commentCount) {
	this.commentCount = commentCount;
}
public int getViewCount() {
	return viewCount;
}
public void setViewCount(int viewCount) {
	this.viewCount = viewCount;
}

}
